<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    p,
    a {
      font-size: 40px;
      height: 600px;
    }

    p:target {
      color: red;
    }
  </style>

</head>

<body>
  <h2>10.html</h2>

  <a href="./10.html">10.html</a>
  -
  <a href="./10.html#home">10.html#home</a>
  -
  <a href="./10.html#shop">10.html#shop</a>

  <p id="home"> this is p1 #home</p>
  <p> this is p3</p>
  <p id="shop"> this is p2 #shop</p>
  <p> this is p3</p>
</body>

</html>